---
title: Query a View
sidebarTitle: Query a View
---

## Description

The `query()` function is executed on a view that resides in one of the projects.

## Syntax

Here is the syntax:

```sql
project_name.query('SELECT * FROM my_project.my_view LIMIT 100')
```
